<?php
/**
 * 公众号页单号相关推送
 * @author lss
 * 2017-05-23
 */
namespace soa\mp\pay;

use soa\client;

class JS  extends client
{
    /**
     * 服务地址
     * @var string
     */
    public $service_url = 'http://mp.kuaidihelp.com/';

    /**
     * 服务名称
     * @var string
     */
    protected $service_name = 'kuaidihelp_mp';

	//获取签名验证参数
	public function sign($platform,$prepayId){
		return $this->post("api/pay/JS/sign",[
			"platform" => $platform,
			"prepayId" => $prepayId,
		]);
	}
}